//
//  YSMessageViewController.m
//  YSEmoticonKeyboard
//
//  Created by MOLBASE on 2017/12/20.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import "YSMessageViewController.h"
#import "YSChatViewController.h"

@interface YSMessageViewController ()

@end

@implementation YSMessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UILabel *label = [[UILabel alloc]initWithFrame:self.view.bounds];
    label.textAlignment = NSTextAlignmentCenter;
    label.text = @"单击开始聊天";
    [self.view addSubview:label];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    YSChatViewController *chatVC = [[YSChatViewController alloc] init];
    chatVC.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:chatVC animated:YES];
}

@end
